module.exports = {
  "title": "Candy",
  "description": "Candy Blog",
  "dest": "public",
  "head": [
    [
      "link",
      {
        "rel": "icon",
        "href": "https://store-jielong.oss-cn-shanghai.aliyuncs.com/est/public/avatar.jpg"
      }
    ],
    [
      "meta",
      {
        "name": "viewport",
        "content": "width=device-width,initial-scale=1,user-scalable=no"
      }
    ],
    ['meta', { name: 'keywords', content: 'candy'}],
    ['meta', { property: 'description', content: 'candy blog' }]
    // // 引入jquery
    // ["script", {
    //   "language": "javascript",
    //   "type": "text/javascript",
    //   "src": "https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"
    // }],
    // // 引入鼠标点击脚本
    // ["script", {
    //   "language": "javascript",
    //   "type": "text/javascript",
    //   "src": "/js/MouseClickEffect.js"
    // }]
  ],
  "locales": {
    "/": {
      "lang": "zh-CN"
    }
  },
  "theme": "reco",
  "themeConfig": {
    "subSidebar": "auto",
    "valineConfig": {
      "appId": 'Msy7iWSmccR3qtl3HmrhsMD1-gzGzoHsz',// your appId
      "appKey": 'Lu7ByspuBVkEXJuNG1BhOHfd', // your appKey
    },
    "nav": [
      {
        "text": "主页",
        "link": "/",
        "icon": "reco-home"
      },
      {
        "text": "时间轴",
        "link": "/timeline/",
        "icon": "reco-date"
      },
      {
        "text": "Gitee",
        "link": "https://gitee.com/candy_7/blog",
        "icon": "reco-mayun"
      }
    ],
    "sidebar": {
      "/docs/theme-reco/": [
        "",
        "theme",
        "plugin",
        "api"
      ]
    },
    "type": "blog",
    "blogConfig": {
      "category": {
        "location": 2,
        "text": "分类"
      },
      "tag": {
        "location": 3,
        "text": "标签"
      }
    },
    "friendLink": [
      {
        "title": "Candy",
        "logo": "https://store-jielong.oss-cn-shanghai.aliyuncs.com/est/public/avatar.jpg",
        "link": "//www.candy.icu/"
      },
      {
        "title": "千拾的博客",
        "logo": "//blog.xingyijun.cn/assets/user-b694c808.jpg",
        "link": "//blog.xingyijun.cn"
      },
      {
        "title": "小白龙的博客",
        "logo": "//xiaolongosscdn.liam0418.com/myblog/images/logo.jpg",
        "link": "//https://blog.xiaolong0418.com"
      }
    ],
    "logo": "https://store-jielong.oss-cn-shanghai.aliyuncs.com/est/public/avatar.jpg",
    "search": true,
    "searchMaxSuggestions": 10,
    "searchPlaceholder": '点我进行全文检索',
    "lastUpdated": "Last Updated",
    "author": "Candy",
    "authorAvatar": "https://store-jielong.oss-cn-shanghai.aliyuncs.com/est/public/avatar.jpg",
    "record": "粤ICP备2023131589号-1",
    "recordLink":"//beian.miit.gov.cn",
    "startYear": "2022"
  },
  "markdown": {
    "lineNumbers": true
  },
  "plugins": [
    ["ribbon-animation", {
      size: 90,   // 默认数据
      opacity: 0.3,  //  透明度
      zIndex: -1,   //  层级
      opt: {
        // 色带HSL饱和度
        colorSaturation: "80%",
        // 色带HSL亮度量
        colorBrightness: "60%",
        // 带状颜色不透明度
        colorAlpha: 0.55,
        // 在HSL颜色空间中循环显示颜色的速度有多快
        colorCycleSpeed: 6,
        // 从哪一侧开始Y轴 (top|min, middle|center, bottom|max, random)
        verticalPosition: "center",
        // 到达屏幕另一侧的速度有多快
        horizontalSpeed: 200,
        // 在任何给定时间，屏幕上会保留多少条带
        ribbonCount: 2,
        // 添加笔划以及色带填充颜色
        strokeSize: 0,
        // 通过页面滚动上的因子垂直移动色带
        parallaxAmount: -0.5,
        // 随着时间的推移，为每个功能区添加动画效果
        animateSections: true
      },
      ribbonShow: false, //  点击彩带  true显示  false为不显示
      ribbonAnimationShow: true  // 滑动彩带
    }],
    // 点击光标插件
    ['cursor-effects', {
      size: 2, // size of the particle, default: 2
      shape: 'star', // ['star' | 'circle'], // shape of the particle, default: 'star'
      zIndex: 999999999, // z-index property of the canvas, default: 999999999
    }],
    // 标题插件
    ['dynamic-title', {
        showIcon: 'https://store-jielong.oss-cn-shanghai.aliyuncs.com/est/public/avatar.jpg',
        showText: '(/≧▽≦/)咦！又好了！',
        hideIcon: 'https://store-jielong.oss-cn-shanghai.aliyuncs.com/est/public/avatar.jpg',
        hideText: '(●—●)喔哟，崩溃啦！',
        recoverTime: 2000,
    }],
    // 音乐插件
    [
      '@vuepress-reco/vuepress-plugin-bgm-player',
      {
        audios: [
          {
            name: 'Genshin Impact bgm',
            artist: 'Genshin Impact',
            url: 'https://ys.mihoyo.com/main/_nuxt/medias/video-bgm.d8637316.mp3',
            cover: 'https://store-jielong.oss-cn-shanghai.aliyuncs.com/est/public/avatar.jpg'
          }
        ] ,
        // 是否默认缩小
        autoShrink: true ,
        // 缩小时缩为哪种模式
        shrinkMode: 'float',
        autoplay: true, // 自动播放
        // 悬浮窗样式
        floatStyle:{ bottom: '10px', 'z-index': '999999' }
      }
    ],
  // 樱花插件
    ["sakura", {
      num: 20,  // 默认数量
      show: true, //  是否显示
      zIndex: 100,   // 层级
      img: {
        replace: false,  // false 默认图 true 换图 需要填写httpUrl地址
        httpUrl: '...'     // 绝对路径
      }     
  }]

  ]  
}

